#!/bin/bash

# 创建目录（如果不存在）
mkdir -p static/images/icons
mkdir -p static/images/community

# 创建占位图片文件列表
IMAGES=(
  "static/images/placeholder.png"
  "static/images/avatar.png"
  "static/images/default-avatar.png"
  "static/images/no-data.png"
  "static/images/logo.png"
  "static/images/wechat.png"
  "static/images/chart-placeholder.png"
  "static/images/icons/profile.png"
  "static/images/icons/health.png"
  "static/images/icons/export.png"
  "static/images/icons/settings.png"
  "static/images/icons/about.png"
  "static/images/icons/feedback.png"
  "static/images/community/empty-comment.png"
)

# 为每个占位图创建一个1x1像素的透明PNG文件
for img in "${IMAGES[@]}"; do
  touch "$img"
  echo "创建占位图: $img"
done

echo "所有占位图片已创建完成!" 